package com.huilian.iotbox.data.enums;

import lombok.Getter;

/**
 * @author chenqiwen
 * @CreateDate: 2022-05-27-18-08
 * @Description:
 */
@Getter
public enum ActivityStateEnum {
    NOT_STARTED(0, "未开始"),
    UNDERWAY(1,"进行中"),
    ENDED(2,"已结束"),
    STOP(3,"暂停"),
    IN_SPELLING(4,"拼团中"),
    SPELL_GROUP_FAILURE(5,"拼团失败"),
    ;

    private final Integer code;
    private final String desc;

    ActivityStateEnum(Integer code, String desc) {
        this.code = code;
        this.desc = desc;
    }
}
